<extend name="Public/base"/>

<block name="body">
	<div class="main-title">
		<h2>
			{$info['id']?'编辑':'新增'}微信设置

		</h2>
	</div>
	<form action="{:U()}" method="post" class="form-horizontal">

		<div class="form-item">
			<label class="item-label">昵称<span class="check-tips">（备注用的只后台显示）</span></label>
			<div class="controls">
				<input type="text" style="height:30px;" class="text input-large" name="nickname" value="{$info.nickname|default=''}">
			</div>
		</div>
		<div class="form-item">
			<label class="item-label">价钱<span class="check-tips">（借款价钱）</span></label>
			<div class="controls">
				<input type="text" style="height:30px;" class="text input-large" name="price" value="{$info.price|default=''}">
			</div>
		</div>
        <div class="form-item">
            <label class="item-label">天数<span class="check-tips">（第一个天数）</span></label>
            <div class="controls">
                <input type="text" style="height:30px;" class="text input-large" name="days_qin" value="{$info.days_qin|default=''}">
            </div>
        </div>

        <div class="form-item">
            <label class="item-label">审核费<span class="check-tips">（第一个天数，审核费）</span></label>
            <div class="controls">
                <input type="text" style="height:30px;" class="text input-large" name="vetting1_qin" value="{$info.vetting1_qin|default=''}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">利息<span class="check-tips">（第一个天数，利息）</span></label>
            <div class="controls">
                <input type="text" style="height:30px;" class="text input-large" name="accrual_qin" value="{$info.accrual_qin|default=''}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">管理费<span class="check-tips">（第一个天数，审核费）</span></label>
            <div class="controls">
                <input type="text" style="height:30px;" class="text input-large" name="manag_qin" value="{$info.manag_qin|default=''}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">天数<span class="check-tips">（第二个天数）</span></label>
            <div class="controls">
                <input type="text" style="height:30px;" class="text input-large" name="days_shi" value="{$info.days_shi|default=''}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">审核费<span class="check-tips">（第二个天数，审核费）</span></label>
            <div class="controls">
                <input type="text" style="height:30px;" class="text input-large" name="vetting1_shi" value="{$info.vetting1_shi|default=''}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">利息<span class="check-tips">（第二个天数，利息）</span></label>
            <div class="controls">
                <input type="text" style="height:30px;" class="text input-large" name="accrual_shi" value="{$info.accrual_shi|default=''}">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">管理费<span class="check-tips">（第二个天数，管理费）</span></label>
            <div class="controls">
                <input type="text" style="height:30px;" class="text input-large" name="manag_shi" value="{$info.manag_shi|default=''}">
            </div>
        </div>
		<div class="form-item">
			<label class="item-label">状态<span class="check-tips"></span></label>
			<div class="controls">
                <select name="status">
                    <option <if condition="$info['status'] eq 1 "> selected  </if> value="1">开启</option>
                    <option <if condition="$info['status'] eq 0 "> selected  </if> value="0">关闭</option>
                </select>
			</div>
		</div>
		<div class="form-item">
			<input type="hidden" name="id" value="{$info.id|default=''}">
			<button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
			<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
		</div>
	</form>
</block>
<block name="script">
<script type="text/javascript" charset="utf-8">
	//导航高亮
	highlight_subnav('{:U('config')}');
</script>
</block>
